package com.course.server.common;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.Min;

/**
 * @author: Durian
 * @date: 2021/4/24 20:05
 */
@Getter
@Setter
public class PageRequest {

    @Min(message = "分页参数错误", value = 0)
    private int page;
    @Min(message = "分页参数错误", value = 1)
    private int size;
}
